<?php

namespace app\admin\controller;
use think\Controller;
use think\Session;

class Index extends Controller
{
    // http://jzl.51dojob.com/admin
    // http://jzl.io/admin
    public function index()
    {
        Session::has('manager') && $this->redirect('@admin/system');
        return $this->fetch();
    }
}